package com.yc.boot.train.model.save;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * Create with IntelliT IDEA
 *
 * @Author: zhengmingzhe
 * @Date: 2022/01/13/10:14
 * @Description:
 */
@Data
@Accessors(chain = true)
@ApiModel("添加公告信息管理模型")
public class SaveNoticeManage {
    @NotBlank
    @ApiModelProperty(value = "公告标题", required = true)
    private String noticeName;

    @NotBlank
    @ApiModelProperty(value = "公告简介", required = true)
    private String noticeIntro;

    @NotBlank
    @ApiModelProperty(value = "公告内容", required = true)
    private String noticeContent;

    @NotBlank
    @ApiModelProperty(value = "发布时间", required = true)
    private String releaseTime;

//    @NotBlank
//    @ApiModelProperty(value = "创建人", required = true)
//    private String createPerson;
}
